package com.android.sharecar.model;

import java.io.Serializable;

import android.graphics.Bitmap;

/**
 * class: User
 * 
 * @author xinyan
 *
 */
public class User implements Serializable {
	private String email;
	private String password;
	private String nickName;
	private String realName;
	private String mobilePhone;

	// default is male, keep the same as the gender radio group
	private String gender = "男";

	private Bitmap headPicture;
	private String carStyle;
	private String carId;
	private String color;

	@Override
	public String toString() {
		return "This is model class: User";
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Bitmap getHeadPicture() {
		return headPicture;
	}

	public void setHeadPicture(Bitmap headPicture) {
		this.headPicture = headPicture;
	}

	public String getCarStyle() {
		return carStyle;
	}

	public void setCarStyle(String carStyle) {
		this.carStyle = carStyle;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

}
